package com.yzh.grainmall.seckill.feign;

import com.yzh.grainmall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author yuzhen
 * @create 2021-11-14 20:04
 */
@FeignClient("grainmall-coupon")
public interface CouponFeignService {

    /**
     * 给远程服务gulimall-seckill调用
     * 扫描需要参与秒杀的活动
     */
    @GetMapping("/coupon/seckillsession/latest3DaysSession")
    R getLatest3DaysSession();

}
